package com.rybbaby.tss.tasks.core.task;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import com.rybbaby.tss.tasks.core.annotation.TaskClass;
import com.rybbaby.tss.tasks.core.annotation.TaskMethod;

@Component
@TaskClass(remark = "短信任务调度")
public class SMSTask extends BaseTask {
	
	/*@Scheduled(cron = "01 00 00 * * ?")*/
	@TaskMethod(remark = "发送短信")
	public void sendSms() {
		log("开始发送短信...");
		// TODO ...
		log("发送短信!");
	}
}
